package org.eg.mapper;
import org.apache.ibatis.annotations.MapKey;
import org.eg.entity.User;

import java.util.Map;

public interface UserMapper {


    boolean  updateUserById(User user);

    int selectCountUser();

    String selectNameByUserId(Integer id);


    Map<String,Object> selectUserByUserId(Integer id);

    @MapKey("id")
    Map<Integer,User> selectUserMapByName(String id);
}
